iostream-ssl.c (dovecot-2.3.16) | : | iostream-ssl.c (dovecot-2.3.17) | ||
---|---|---|---|---|
skipping to change at line 127 | skipping to change at line 127 | |||
void ssl_iostream_context_ref(struct ssl_iostream_context *ctx) | void ssl_iostream_context_ref(struct ssl_iostream_context *ctx) | |||
{ | { | |||
ssl_vfuncs->context_ref(ctx); | ssl_vfuncs->context_ref(ctx); | |||
} | } | |||
void ssl_iostream_context_unref(struct ssl_iostream_context **_ctx) | void ssl_iostream_context_unref(struct ssl_iostream_context **_ctx) | |||
{ | { | |||
struct ssl_iostream_context *ctx = *_ctx; | struct ssl_iostream_context *ctx = *_ctx; | |||
if (*_ctx == NULL) | ||||
return; | ||||
*_ctx = NULL; | *_ctx = NULL; | |||
ssl_vfuncs->context_unref(ctx); | ssl_vfuncs->context_unref(ctx); | |||
} | } | |||
int io_stream_create_ssl_client(struct ssl_iostream_context *ctx, const char *ho st, | int io_stream_create_ssl_client(struct ssl_iostream_context *ctx, const char *ho st, | |||
const struct ssl_iostream_settings *set, | const struct ssl_iostream_settings *set, | |||
struct istream **input, struct ostream **output, | struct istream **input, struct ostream **output, | |||
struct ssl_iostream **iostream_r, | struct ssl_iostream **iostream_r, | |||
const char **error_r) | const char **error_r) | |||
{ | { | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 2 lines changed or added |