diff options
Diffstat (limited to 'src/plugins')
| -rw-r--r-- | src/plugins/preauth/pkinit/pkinit_crypto_nss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/preauth/pkinit/pkinit_crypto_nss.c b/src/plugins/preauth/pkinit/pkinit_crypto_nss.c index b33ce749b..ec6db2d13 100644 --- a/src/plugins/preauth/pkinit/pkinit_crypto_nss.c +++ b/src/plugins/preauth/pkinit/pkinit_crypto_nss.c @@ -745,7 +745,7 @@ crypto_get_p12_slot(struct _pkinit_identity_crypto_context *id) __FUNCTION__, configdir, strerror(errno)); else { while ((ent = readdir(dir)) != NULL) { - if ((strcmp(ent->d_name, ".") == 0) && + if ((strcmp(ent->d_name, ".") == 0) || (strcmp(ent->d_name, "..") == 0)) { continue; } |
