Re: [PATCH] Fix compile error when using nss libs:

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 22 Jul 2011, Marcus Sorensen wrote:
> auth/Crypto.cc:218: error: expected primary-expression before ?}? token
> auth/Crypto.cc:218: error: expected ?;? before ?}? token
> 
> Perhaps something more is missing here but this gets things going...
> apparently not used much?

Looks right.  Maybe only some compiler versions bork on that?  We 
also usually build with crypto++ when we can (libnss sucks a 
several ways).

Can I add your signed-off-by? 

Thanks-
sage


> ---
>  src/auth/Crypto.cc |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/src/auth/Crypto.cc b/src/auth/Crypto.cc
> index 7251d09..ad256bb 100644
> --- a/src/auth/Crypto.cc
> +++ b/src/auth/Crypto.cc
> @@ -215,6 +215,7 @@ static void nss_aes_operation(CK_ATTRIBUTE_TYPE
> op, const bufferptr& secret,
>  err_slot:
>   PK11_FreeSlot(slot);
>  err:
> +  ;
>  }
> 
>  #else
> --
> 1.7.4.1
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 

[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux