diff options
author | 2015-01-07 16:05:28 +0000 | |
---|---|---|
committer | 2015-01-07 16:05:28 +0000 | |
commit | 77fd63177516ac49f46ca78f04d7e7fcc5b26495 (patch) | |
tree | 8f4bb6fa7e52a727a263cea88876bec9cf30a32f /lib/libc/crypt/bcrypt.c | |
parent | set errno = EINVAL for invalid salts and hashes in most functions. (diff) | |
download | wireguard-openbsd-77fd63177516ac49f46ca78f04d7e7fcc5b26495.tar.xz wireguard-openbsd-77fd63177516ac49f46ca78f04d7e7fcc5b26495.zip |
stupid me. need errno.h
Diffstat (limited to 'lib/libc/crypt/bcrypt.c')
-rw-r--r-- | lib/libc/crypt/bcrypt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/crypt/bcrypt.c b/lib/libc/crypt/bcrypt.c index dc174f2a4d3..f6ff29b234d 100644 --- a/lib/libc/crypt/bcrypt.c +++ b/lib/libc/crypt/bcrypt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bcrypt.c,v 1.49 2015/01/07 15:46:23 tedu Exp $ */ +/* $OpenBSD: bcrypt.c,v 1.50 2015/01/07 16:05:28 tedu Exp $ */ /* * Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> @@ -34,6 +34,7 @@ #include <sys/types.h> #include <blf.h> #include <ctype.h> +#include <errno.h> #include <pwd.h> #include <stdio.h> #include <stdlib.h> |