Commit cdde7b49 authored by Emilia Kasper's avatar Emilia Kasper
Browse files

Restore SSLerr on PACKET_strndup failure.

parent 05d7bf6c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2271,6 +2271,7 @@ int ssl3_get_client_key_exchange(SSL *s)
        }

        if (!PACKET_strndup(&psk_identity, &s->session->psk_identity)) {
            SSLerr(SSL_F_SSL3_GET_CLIENT_KEY_EXCHANGE, ERR_R_INTERNAL_ERROR);
            al = SSL_AD_INTERNAL_ERROR;
            goto f_err;
        }