I missed one.
authorGeoff Thorpe <geoff@openssl.org>
Fri, 23 Feb 2001 00:09:50 +0000 (00:09 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Fri, 23 Feb 2001 00:09:50 +0000 (00:09 +0000)
apps/s_server.c

index 561e3a2358fbbc951c7a6fa55e9e6b4db93da1d4..0907fd971bfdb09be73d4ac842a2ac3601346e32 100644 (file)
@@ -1605,7 +1605,7 @@ static int generate_session_id(const SSL *ssl, unsigned char *id,
                        (strlen(session_id_prefix) < *id_len) ?
                        strlen(session_id_prefix) : *id_len);
                }
-       while(SSL_CTX_has_matching_session_id(ssl->ctx, id, *id_len) &&
+       while(SSL_has_matching_session_id(ssl, id, *id_len) &&
                (++count < MAX_SESSION_ID_ATTEMPTS));
        if(count >= MAX_SESSION_ID_ATTEMPTS)
                return 0;