summaryrefslogtreecommitdiffstats
path: root/krl.c
diff options
context:
space:
mode:
Diffstat (limited to 'krl.c')
-rw-r--r--krl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/krl.c b/krl.c
index 8e53f46d..91685267 100644
--- a/krl.c
+++ b/krl.c
@@ -14,7 +14,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $OpenBSD: krl.c,v 1.5 2013/01/24 21:45:37 djm Exp $ */
+/* $OpenBSD: krl.c,v 1.6 2013/01/24 22:08:56 djm Exp $ */
#include "includes.h"
@@ -1149,7 +1149,7 @@ is_key_revoked(struct ssh_krl *krl, const Key *key)
}
/* Legacy cert formats lack serial numbers */
- if (key_cert_is_legacy(key))
+ if (key_cert_is_legacy(key) || key->cert->serial == buf0)
return 0;
bzero(&rs, sizeof(rs));