summaryrefslogtreecommitdiff
path: root/usr.bin/gzsig
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/gzsig')
-rw-r--r--usr.bin/gzsig/key.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/usr.bin/gzsig/key.c b/usr.bin/gzsig/key.c
index 9f09e5eca9e..9ef897db5f4 100644
--- a/usr.bin/gzsig/key.c
+++ b/usr.bin/gzsig/key.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: key.c,v 1.4 2006/04/01 19:57:32 otto Exp $ */
+/* $OpenBSD: key.c,v 1.5 2006/04/03 01:33:09 djm Exp $ */
/*
* key.c
@@ -101,12 +101,7 @@ load_file(struct iovec *iov, char *filename)
struct key *
key_new(void)
{
- struct key *k;
-
- if ((k = calloc(sizeof(*k), 1)) == NULL)
- return (NULL);
-
- return (k);
+ return (calloc(1, sizeof(struct key)));
}
int