Whoops, my fault, a backslash got converted to a slash...
[openssl.git] / ssl / ssl_sess.c
index 7430d84d751d94aa8302d90a6e5e6a4501a404af..1b87de9d21ce778009f03da1064b98b93d4b45ec 100644 (file)
@@ -565,7 +565,7 @@ int SSL_set_session(SSL *s, SSL_SESSION *session)
                     s->kssl_ctx->client_princ = (char *)malloc(session->krb5_client_princ_len + 1);
                     memcpy(s->kssl_ctx->client_princ,session->krb5_client_princ,
                             session->krb5_client_princ_len);
-                    s->kssl_ctx->client_princ[session->krb5_client_princ_len] = '/0';
+                    s->kssl_ctx->client_princ[session->krb5_client_princ_len] = '\0';
                 }
 #endif /* OPENSSL_NO_KRB5 */