summaryrefslogtreecommitdiff
path: root/ssl/ssl_lib.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2013-02-04 21:13:18 +0000
committerDr. Stephen Henson <steve@openssl.org>2013-02-04 21:13:18 +0000
commit35d732fc2e1badce13be22a044187ebd4d769552 (patch)
treee497ae68f1b7e23bef7498c8a935a1b4b933b5af /ssl/ssl_lib.c
parent896ddb9851587d17e607d1e6b3b8404f663e8cec (diff)
downloadopenssl-new-35d732fc2e1badce13be22a044187ebd4d769552.tar.gz
Fix error codes.
Diffstat (limited to 'ssl/ssl_lib.c')
-rw-r--r--ssl/ssl_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c
index 6bd31c2dea..1a14c428a5 100644
--- a/ssl/ssl_lib.c
+++ b/ssl/ssl_lib.c
@@ -2342,7 +2342,7 @@ CERT_PKEY *ssl_get_server_send_pkey(const SSL *s)
i=SSL_PKEY_GOST01;
else /* if (alg_a & SSL_aNULL) */
{
- SSLerr(SSL_F_SSL_GET_SERVER_SEND_CERT,ERR_R_INTERNAL_ERROR);
+ SSLerr(SSL_F_SSL_GET_SERVER_SEND_PKEY,ERR_R_INTERNAL_ERROR);
return(NULL);
}