ebcdic problem in bufaux.c

Greg Lambert glemtp at yahoo.com
Fri Jul 23 06:36:06 EST 2004


I am working on a port of Openssh 3.8p1 after already
having done a port of Openssh 3.5p1.  There are a
couple of new lines in buffer_get_bignum2() that are
causing me problems:

        if (len > 0 && (bin[0] & 0x80))
                fatal("buffer_get_bignum2: negative
numbers not supported");

The "& 0x80" check is not relevant in ebcdic.  
 
Does anyone know why this check was added?
 
What are the consequences of removing it?
 
Does anyone have any idea how I could get the same
result as this check in ebcdic?
 
Thank You,
 
Greg Lambert



	
		
__________________________________
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/




More information about the openssh-unix-dev mailing list