diff options
| author | Simon L. B. Nielsen <simon@FreeBSD.org> | 2006-10-01 07:38:44 +0000 |
|---|---|---|
| committer | Simon L. B. Nielsen <simon@FreeBSD.org> | 2006-10-01 07:38:44 +0000 |
| commit | ed5d4f9a94bdae2f8fb5fe3f2608eef20d2499ca (patch) | |
| tree | ddbe8498869205da709070fe1d40135d495b9326 /crypto/openssl/ssl/ssl_lib.c | |
| parent | 3b4e3dcb9f42dc9f4f864acf804677d7a3e0c233 (diff) | |
Notes
Diffstat (limited to 'crypto/openssl/ssl/ssl_lib.c')
| -rw-r--r-- | crypto/openssl/ssl/ssl_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/openssl/ssl/ssl_lib.c b/crypto/openssl/ssl/ssl_lib.c index 28c90fc68e20..4971b34375fb 100644 --- a/crypto/openssl/ssl/ssl_lib.c +++ b/crypto/openssl/ssl/ssl_lib.c @@ -1219,7 +1219,7 @@ char *SSL_get_shared_ciphers(const SSL *s,char *buf,int len) c=sk_SSL_CIPHER_value(sk,i); for (cp=c->name; *cp; ) { - if (len-- == 0) + if (len-- <= 0) { *p='\0'; return(buf); |
