diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-08-06 16:23:17 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-08-06 16:23:17 +0000 |
commit | 17620eec4c883ac1ec78d8a9f4f5ce1ac7bc5393 (patch) | |
tree | f23ef3bbc23dc7c115ab8d6c1a44ffd409eed94b /ssl/d1_both.c | |
parent | 059230b3203b842beba856b7998e71f70e7e454e (diff) |
Fix error codes.
Diffstat (limited to 'ssl/d1_both.c')
-rw-r--r-- | ssl/d1_both.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/d1_both.c b/ssl/d1_both.c index 996f3a77b3..e2c5e89e22 100644 --- a/ssl/d1_both.c +++ b/ssl/d1_both.c @@ -823,7 +823,7 @@ static int dtls1_add_cert_to_buf(BUF_MEM *buf, unsigned long *l, X509 *x) n=i2d_X509(x,NULL); if (!BUF_MEM_grow_clean(buf,(int)(n+(*l)+3))) { - SSLerr(SSL_F_DTLS1_OUTPUT_CERT_CHAIN,ERR_R_BUF_LIB); + SSLerr(SSL_F_DTLS1_ADD_CERT_TO_BUF,ERR_R_BUF_LIB); return 0; } p=(unsigned char *)&(buf->data[*l]); |