diff options
author | tb <tb@openbsd.org> | 2021-03-12 15:55:26 +0000 |
---|---|---|
committer | tb <tb@openbsd.org> | 2021-03-12 15:55:26 +0000 |
commit | f2c079f18bd52a67cc7541ef4ec4aad35eb73503 (patch) | |
tree | de516c98f5e1be1691024e5e7fd2ac25af56bd58 /lib | |
parent | Fix checks of memory caps of constraints names (diff) | |
download | wireguard-openbsd-f2c079f18bd52a67cc7541ef4ec4aad35eb73503.tar.xz wireguard-openbsd-f2c079f18bd52a67cc7541ef4ec4aad35eb73503.zip |
Missing void in function definition
ok jsing
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libcrypto/x509/x509_constraints.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/x509/x509_constraints.c b/lib/libcrypto/x509/x509_constraints.c index 2d55e136d73..2557dd0a890 100644 --- a/lib/libcrypto/x509/x509_constraints.c +++ b/lib/libcrypto/x509/x509_constraints.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509_constraints.c,v 1.13 2021/03/12 15:53:38 tb Exp $ */ +/* $OpenBSD: x509_constraints.c,v 1.14 2021/03/12 15:55:26 tb Exp $ */ /* * Copyright (c) 2020 Bob Beck <beck@openbsd.org> * @@ -36,7 +36,7 @@ #define DOMAIN_PART_MAX_LEN 255 struct x509_constraints_name * -x509_constraints_name_new() +x509_constraints_name_new(void) { return (calloc(1, sizeof(struct x509_constraints_name))); } |