summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_txt.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2002-03-12 13:32:35 +0000
committerDr. Stephen Henson <steve@openssl.org>2002-03-12 13:32:35 +0000
commit98fa4fe8c54a0f717829e894e8c8528c4a8dd4fe (patch)
tree3ae0821e6c034c06711771417a21862ae88c6eb9 /ssl/ssl_txt.c
parent0b4c91c0fcabd68dfd227e359ed471b5f6c27737 (diff)
Fix ASN1 additions for KRB5
Diffstat (limited to 'ssl/ssl_txt.c')
-rw-r--r--ssl/ssl_txt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/ssl_txt.c b/ssl/ssl_txt.c
index 77e881d061..40b76b1b26 100644
--- a/ssl/ssl_txt.c
+++ b/ssl/ssl_txt.c
@@ -140,7 +140,7 @@ int SSL_SESSION_print(BIO *bp, SSL_SESSION *x)
if (BIO_printf(bp,"%02X",x->key_arg[i]) <= 0) goto err;
}
#ifndef OPENSSL_NO_KRB5
- if (BIO_puts(bp,"/n Krb5 Principal: ") <= 0) goto err;
+ if (BIO_puts(bp,"\n Krb5 Principal: ") <= 0) goto err;
if (x->krb5_client_princ_len == 0)
{
if (BIO_puts(bp,"None") <= 0) goto err;
@@ -148,7 +148,7 @@ int SSL_SESSION_print(BIO *bp, SSL_SESSION *x)
else
for (i=0; i<x->krb5_client_princ_len; i++)
{
- if (BIO_printf(bp,"%02X",x->key_arg[i]) <= 0) goto err;
+ if (BIO_printf(bp,"%02X",x->krb5_client_princ[i]) <= 0) goto err;
}
#endif /* OPENSSL_NO_KRB5 */
if (x->compress_meth != 0)