Re: Call for testing: OpenSSH 6.7

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

 



Will test this out in the morning.  Will this be in the 0820 snapshot?


On Mon, Aug 18, 2014 at 6:23 PM, Damien Miller <djm@xxxxxxxxxxx> wrote:

> On Mon, 18 Aug 2014, Kevin Brott wrote:
>
> > Ugh - so, forgot to RT the list ... and another failed buildhost ...
> >
> >                  from ../entropy.h:30,
> >                  from ../includes.h:177,
> >                  from arc4random.c:27:
> > ../sshbuf.h:25:24: openssl/ec.h: No such file or directory
>
> This should help:
>
> Index: sshbuf.h
> ===================================================================
> RCS file: /var/cvs/openssh/sshbuf.h,v
> retrieving revision 1.4
> diff -u -p -r1.4 sshbuf.h
> --- sshbuf.h    2 Jul 2014 05:28:04 -0000       1.4
> +++ sshbuf.h    19 Aug 2014 01:23:22 -0000
> @@ -21,8 +21,12 @@
>  #include <sys/types.h>
>  #include <stdarg.h>
>  #include <stdio.h>
> -#include <openssl/bn.h>
> -#include <openssl/ec.h>
> +#ifdef WITH_OPENSSL
> +# include <openssl/bn.h>
> +# ifdef OPENSSL_HAS_ECC
> +#  include <openssl/ec.h>
> +# endif /* OPENSSL_HAS_ECC */
> +#endif /* WITH_OPENSSL */
>
>  #define SSHBUF_SIZE_MAX                0x8000000       /* Hard maximum
> size */
>  #define SSHBUF_REFS_MAX                0x100000        /* Max child
> buffers */
> @@ -204,17 +208,19 @@ int       sshbuf_peek_string_direct(const stru
>   * Functions to extract or store SSH wire encoded bignums and elliptic
>   * curve points.
>   */
> +int    sshbuf_put_bignum2_bytes(struct sshbuf *buf, const void *v, size_t
> len);
> +#ifdef WITH_OPENSSL
>  int    sshbuf_get_bignum2(struct sshbuf *buf, BIGNUM *v);
>  int    sshbuf_get_bignum1(struct sshbuf *buf, BIGNUM *v);
>  int    sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v);
>  int    sshbuf_put_bignum1(struct sshbuf *buf, const BIGNUM *v);
> -int    sshbuf_put_bignum2_bytes(struct sshbuf *buf, const void *v, size_t
> len);
> -#if !defined(WITH_OPENSSL) || defined(OPENSSL_HAS_ECC)
> +# ifdef OPENSSL_HAS_ECC
>  int    sshbuf_get_ec(struct sshbuf *buf, EC_POINT *v, const EC_GROUP *g);
>  int    sshbuf_get_eckey(struct sshbuf *buf, EC_KEY *v);
>  int    sshbuf_put_ec(struct sshbuf *buf, const EC_POINT *v, const
> EC_GROUP *g);
>  int    sshbuf_put_eckey(struct sshbuf *buf, const EC_KEY *v);
> -#endif
> +# endif /* OPENSSL_HAS_ECC */
> +#endif /* WITH_OPENSSL */
>
>  /* Dump the contents of the buffer in a human-readable format */
>  void   sshbuf_dump(struct sshbuf *buf, FILE *f);
>



-- 
# include <stddisclaimer.h>
/* Kevin  Brott <Kevin.Brott@xxxxxxxxx> */
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




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

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux