diff options
author | deraadt@openbsd.org <deraadt@openbsd.org> | 2015-02-03 08:07:20 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-02-05 07:43:00 +1100 |
commit | ce4f59b2405845584f45e0b3214760eb0008c06c (patch) | |
tree | 95a69000fdb9c8ee886242fe34a04650e858927f /ssh-pkcs11.c | |
parent | 5d34aa94938abb12b877a25be51862757f25d54b (diff) | |
download | openssh-git-ce4f59b2405845584f45e0b3214760eb0008c06c.tar.gz |
upstream commit
missing ; djm and mlarkin really having great
interactions recently
Diffstat (limited to 'ssh-pkcs11.c')
-rw-r--r-- | ssh-pkcs11.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh-pkcs11.c b/ssh-pkcs11.c index ddc89d51..c3a112fa 100644 --- a/ssh-pkcs11.c +++ b/ssh-pkcs11.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-pkcs11.c,v 1.16 2015/02/02 22:48:53 djm Exp $ */ +/* $OpenBSD: ssh-pkcs11.c,v 1.17 2015/02/03 08:07:20 deraadt Exp $ */ /* * Copyright (c) 2010 Markus Friedl. All rights reserved. * @@ -368,7 +368,7 @@ pkcs11_open_session(struct pkcs11_provider *p, CK_ULONG slotidx, char *pin) } if (login_required && pin) { rv = f->C_Login(session, CKU_USER, - (u_char *)pin, strlen(pin)) + (u_char *)pin, strlen(pin)); if (rv != CKR_OK && rv != CKR_USER_ALREADY_LOGGED_IN) { error("C_Login failed: %lu", rv); if ((rv = f->C_CloseSession(session)) != CKR_OK) |