Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug 1360207, Fix incorrect if (ss->...) in SSL_ReconfigFD, Patch cont…
…ributed by Ian Goldberg, r=ttaubert
  • Loading branch information
kaie committed May 2, 2017
1 parent 7f704fe commit 0086b2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ssl/sslsock.c
Expand Up @@ -2152,11 +2152,11 @@ SSL_ReconfigFD(PRFileDesc *model, PRFileDesc *fd)
ss->sniSocketConfig = sm->sniSocketConfig;
if (sm->sniSocketConfigArg)
ss->sniSocketConfigArg = sm->sniSocketConfigArg;
if (ss->alertReceivedCallback) {
if (sm->alertReceivedCallback) {
ss->alertReceivedCallback = sm->alertReceivedCallback;
ss->alertReceivedCallbackArg = sm->alertReceivedCallbackArg;
}
if (ss->alertSentCallback) {
if (sm->alertSentCallback) {
ss->alertSentCallback = sm->alertSentCallback;
ss->alertSentCallbackArg = sm->alertSentCallbackArg;
}
Expand Down

0 comments on commit 0086b2f

Please sign in to comment.