From: mancha security Date: Sun, 3 May 2015 02:45:45 +0000 (+0000) Subject: ssl/ssl_asn1.c: Fix typo introduced via cc5b6a03a320f1 X-Git-Tag: OpenSSL_1_1_0-pre1~1197 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=aacb4f1a6ec12efff96fa7e51ca7b57254e2b2c8;p=oweals%2Fopenssl.git ssl/ssl_asn1.c: Fix typo introduced via cc5b6a03a320f1 Signed-off-by: mancha security Signed-off-by: Matt Caswell Reviewed-by: Dr. Stephen Henson --- diff --git a/ssl/ssl_asn1.c b/ssl/ssl_asn1.c index 905c8cf600..3e849175ea 100644 --- a/ssl/ssl_asn1.c +++ b/ssl/ssl_asn1.c @@ -370,7 +370,7 @@ SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **a, const unsigned char **pp, #ifndef OPENSSL_NO_KRB5 if (!ssl_session_memcpy(ret->krb5_client_princ, &ret->krb5_client_princ_len, - as->krb5_princ, SSL_MAX_PRINCIPAL_LENGTH)) + as->krb5_princ, SSL_MAX_KRB5_PRINCIPAL_LENGTH)) goto err; #endif /* OPENSSL_NO_KRB5 */