diff options
author | markus <> | 2003-11-11 22:15:20 +0000 |
---|---|---|
committer | markus <> | 2003-11-11 22:15:20 +0000 |
commit | 38a053f575d6faf05903707a8e835dc231c7eca9 (patch) | |
tree | 6f8ff7f2313c890e1f52fd53451e7af46dad58b2 /src/lib/libcrypto/bio/bf_buff.c | |
parent | 76b1d16ba9a90ba98e7cfdc332eb843f02c06a1c (diff) | |
download | openbsd-38a053f575d6faf05903707a8e835dc231c7eca9.tar.gz openbsd-38a053f575d6faf05903707a8e835dc231c7eca9.tar.bz2 openbsd-38a053f575d6faf05903707a8e835dc231c7eca9.zip |
merge 0.9.7c; minor bugsfixes;
API addition: ERR_release_err_state_table
[make includes before you build libssl/libcrypto]
Diffstat (limited to 'src/lib/libcrypto/bio/bf_buff.c')
-rw-r--r-- | src/lib/libcrypto/bio/bf_buff.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/libcrypto/bio/bf_buff.c b/src/lib/libcrypto/bio/bf_buff.c index 1cecd70579..c1fd75aaad 100644 --- a/src/lib/libcrypto/bio/bf_buff.c +++ b/src/lib/libcrypto/bio/bf_buff.c | |||
@@ -494,6 +494,7 @@ static int buffer_gets(BIO *b, char *buf, int size) | |||
494 | if (i <= 0) | 494 | if (i <= 0) |
495 | { | 495 | { |
496 | BIO_copy_next_retry(b); | 496 | BIO_copy_next_retry(b); |
497 | *buf='\0'; | ||
497 | if (i < 0) return((num > 0)?num:i); | 498 | if (i < 0) return((num > 0)?num:i); |
498 | if (i == 0) return(num); | 499 | if (i == 0) return(num); |
499 | } | 500 | } |