summaryrefslogtreecommitdiff
path: root/src/lib/libtls/tls_util.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libtls/tls_util.c (renamed from src/lib/libressl/ressl_util.c)6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libressl/ressl_util.c b/src/lib/libtls/tls_util.c
index d8b8f51738..2adfb674b8 100644
--- a/src/lib/libressl/ressl_util.c
+++ b/src/lib/libtls/tls_util.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ressl_util.c,v 1.2 2014/08/05 12:46:16 jsing Exp $ */ 1/* $OpenBSD: tls_util.c,v 1.1 2014/10/31 13:46:17 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -17,7 +17,7 @@
17 17
18#include <stdlib.h> 18#include <stdlib.h>
19 19
20#include "ressl_internal.h" 20#include "tls_internal.h"
21 21
22/* 22/*
23 * Extract the host and port from a colon separated value. For a literal IPv6 23 * Extract the host and port from a colon separated value. For a literal IPv6
@@ -28,7 +28,7 @@
28 * On memory allocation failure -1 will be returned. 28 * On memory allocation failure -1 will be returned.
29 */ 29 */
30int 30int
31ressl_host_port(const char *hostport, char **host, char **port) 31tls_host_port(const char *hostport, char **host, char **port)
32{ 32{
33 char *h, *p, *s; 33 char *h, *p, *s;
34 int rv = 1; 34 int rv = 1;