Hello,

Aktiv Co. Aleksey Samsonov:
> I think, we need to rollback:
> 
> Index: src/pkcs15init/keycache.c
> ===================================================================
> --- src/pkcs15init/keycache.c   (revision 3765)
> +++ src/pkcs15init/keycache.c   (working copy)
> @@ -259,17 +259,11 @@
>          }
> 
>          if (ref >= 0) {
> -               int r;
>                  /* Create the named PIN if it doesn't exist */
>                  if (!(s = find_entry(path, SC_AC_CHV, ref, 0))) {
>                          s = new_entry(path, SC_AC_CHV, ref);
>                          if (s == NULL)
>                                  return SC_ERROR_OUT_OF_MEMORY;
> -
> -                       r = sc_keycache_get_key(path, SC_AC_CHV, -1,
> s->value, MAX_SECRET);
> -                       if(r < 0)
> -                               return SC_ERROR_OBJECT_NOT_FOUND;
> -                       s->len = r;
>                  }
> 
>                  /* Set the pin name */
> -------

Do you mind if I roll back? (for a new 0.11.* release)
Thanks
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to