Loading ssl/d1_lib.c +4 −4 Original line number Diff line number Diff line Loading @@ -79,10 +79,10 @@ int dtls1_new(SSL *s) } if (!ssl3_new(s)) return (0); return 0; if ((d1 = OPENSSL_zalloc(sizeof(*d1))) == NULL) { ssl3_free(s); return (0); return 0; } d1->buffered_messages = pqueue_new(); Loading @@ -100,12 +100,12 @@ int dtls1_new(SSL *s) pqueue_free(d1->sent_messages); OPENSSL_free(d1); ssl3_free(s); return (0); return 0; } s->d1 = d1; s->method->ssl_clear(s); return (1); return 1; } static void dtls1_clear_queues(SSL *s) Loading ssl/s3_lib.c +2 −2 Original line number Diff line number Diff line Loading @@ -2915,9 +2915,9 @@ int ssl3_new(SSL *s) goto err; #endif s->method->ssl_clear(s); return (1); return 1; err: return (0); return 0; } void ssl3_free(SSL *s) Loading ssl/ssl_lib.c +3 −3 Original line number Diff line number Diff line Loading @@ -443,7 +443,7 @@ int SSL_clear(SSL *s) { if (s->method == NULL) { SSLerr(SSL_F_SSL_CLEAR, SSL_R_NO_METHOD_SPECIFIED); return (0); return 0; } if (ssl_clear_bad_session(s)) { Loading Loading @@ -492,13 +492,13 @@ int SSL_clear(SSL *s) s->method->ssl_free(s); s->method = s->ctx->method; if (!s->method->ssl_new(s)) return (0); return 0; } else s->method->ssl_clear(s); RECORD_LAYER_clear(&s->rlayer); return (1); return 1; } /** Used to change an SSL_CTXs default SSL method type */ Loading Loading
ssl/d1_lib.c +4 −4 Original line number Diff line number Diff line Loading @@ -79,10 +79,10 @@ int dtls1_new(SSL *s) } if (!ssl3_new(s)) return (0); return 0; if ((d1 = OPENSSL_zalloc(sizeof(*d1))) == NULL) { ssl3_free(s); return (0); return 0; } d1->buffered_messages = pqueue_new(); Loading @@ -100,12 +100,12 @@ int dtls1_new(SSL *s) pqueue_free(d1->sent_messages); OPENSSL_free(d1); ssl3_free(s); return (0); return 0; } s->d1 = d1; s->method->ssl_clear(s); return (1); return 1; } static void dtls1_clear_queues(SSL *s) Loading
ssl/s3_lib.c +2 −2 Original line number Diff line number Diff line Loading @@ -2915,9 +2915,9 @@ int ssl3_new(SSL *s) goto err; #endif s->method->ssl_clear(s); return (1); return 1; err: return (0); return 0; } void ssl3_free(SSL *s) Loading
ssl/ssl_lib.c +3 −3 Original line number Diff line number Diff line Loading @@ -443,7 +443,7 @@ int SSL_clear(SSL *s) { if (s->method == NULL) { SSLerr(SSL_F_SSL_CLEAR, SSL_R_NO_METHOD_SPECIFIED); return (0); return 0; } if (ssl_clear_bad_session(s)) { Loading Loading @@ -492,13 +492,13 @@ int SSL_clear(SSL *s) s->method->ssl_free(s); s->method = s->ctx->method; if (!s->method->ssl_new(s)) return (0); return 0; } else s->method->ssl_clear(s); RECORD_LAYER_clear(&s->rlayer); return (1); return 1; } /** Used to change an SSL_CTXs default SSL method type */ Loading