summary refs log tree commit diff
path: root/sunrpc
diff options
context:
space:
mode:
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/auth_des.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/auth_des.c b/sunrpc/auth_des.c
index 7fe96ca765..dbd12e5aad 100644
--- a/sunrpc/auth_des.c
+++ b/sunrpc/auth_des.c
@@ -174,7 +174,7 @@ authdes_pk_create (const char *servername, netobj *pkey, u_int window,
       if (key_gendes (&auth->ah_key) < 0)
 	{
 	  debug ("authdes_create: unable to gen conversation key");
-	  return NULL;
+	  goto failed;
 	}
     }
   else