• jengab's avatar
    Fix some undefined behaviour · 0ed6cdec
    jengab authored
    - redisSSLContextError must always be initialized at defintion,
      otherwise when SSL connect succeeds it may not be assigned to a valid error.
      Thus the memory trash remains in the variable, which may sign a misleading error.
    0ed6cdec
example-libevent-ssl.c 2.29 KB