diff options
Diffstat (limited to 'src/streams/tls.c')
| -rw-r--r-- | src/streams/tls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/streams/tls.c b/src/streams/tls.c index 0ea47fb2f..6a251717b 100644 --- a/src/streams/tls.c +++ b/src/streams/tls.c @@ -38,7 +38,7 @@ int git_tls_stream_new(git_stream **out, const char *host, const char *port) } if (!init) { - giterr_set(GITERR_SSL, "there is no TLS stream available"); + git_error_set(GIT_ERROR_SSL, "there is no TLS stream available"); return -1; } @@ -65,7 +65,7 @@ int git_tls_stream_wrap(git_stream **out, git_stream *in, const char *host) } if (!wrap) { - giterr_set(GITERR_SSL, "there is no TLS stream available"); + git_error_set(GIT_ERROR_SSL, "there is no TLS stream available"); return -1; } |
