Hello Klaus,

Applied and upstream

Thanks,
Rajiv Andrade
IBM LTC Security Development

Klaus Heinrich Kiwi wrote:
>  Setting CKF_SERIAL_SESSION bit on CK_C_INITIALIZE_ARGS struct passed
>  by the caller is breaking at least one outstanding PKCS#11 user: NSS,
>  which qualifies this field as 'const'.
>  PKCS#11 standard doesn't specify this as a const field, but this
>  particular flag is depracated anyway and openCryptoki doesn't
>  really care for it, so leaving it alone won't probably cause any
>  harm.
>
>
> Signed-off-by: Klaus Heinrich Kiwi <[email protected]>
> ---
>  usr/lib/pkcs11/api/api_interface.c |    5 -----
>  1 files changed, 0 insertions(+), 5 deletions(-)
>
> diff --git a/usr/lib/pkcs11/api/api_interface.c 
> b/usr/lib/pkcs11/api/api_interface.c
> index 57519d4..dabd711 100755
> --- a/usr/lib/pkcs11/api/api_interface.c
> +++ b/usr/lib/pkcs11/api/api_interface.c
> @@ -3324,11 +3324,6 @@ C_Initialize ( CK_VOID_PTR pVoid )
>              LOGIT(LOG_DEBUG,"Can't create OS threads.... This is OK");
>           }
>
> -      /* CFK_SERIAL_SESSION is deprecated, so we should just turn
> -       * it on within the code automatically, instead of requiring
> -       * the application to do it. */
> -      pArg->flags |= CKF_SERIAL_SESSION;
> -
>           // Since this is an initialization path, we will be verbose in the
>           // code rather than efficient.
>           // 
>   


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Opencryptoki-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opencryptoki-tech

Reply via email to