search for: charset_ebcdic

Displaying 1 result from an estimated 1 matches for "charset_ebcdic".

2003 Oct 08
4
OS/390 openssh
...get_binary(buffer, &len); if (len > 8 * 1024) fatal("buffer_get_bignum2: cannot handle BN of size %d", len); @@ -212,6 +212,36 @@ * will be stored there. A null character will be automatically appended * to the returned string, and is not counted in length. */ +#ifdef CHARSET_EBCDIC +void * +buffer_get_binary(Buffer *buffer, u_int *length_ptr) +{ + u_char *value; + u_int len; + + /* Get the length. */ + len = buffer_get_int(buffer); + if (len > 256 * 1024) + fatal("buffer_get_binary: bad length %d", len); + /* Allocate space for the object. Add one byte for a nu...