Re: [edk2] [staging/HTTPS-TLS][PATCH] CryptoPkg: Fix ssl build error.

2016-05-02 Thread Long, Qin
This looks good to me. 
Reviewed-by: Qin Long <qin.l...@intel.com>


Best Regards & Thanks
LONG, Qin

> -Original Message-
> From: Wu, Jiaxin
> Sent: Tuesday, May 03, 2016 8:43 AM
> To: Wu, Jiaxin; edk2-devel@lists.01.org
> Cc: Samer El-Haj-Mahmoud; Long, Qin
> Subject: RE: [edk2] [staging/HTTPS-TLS][PATCH] CryptoPkg: Fix ssl build error.
> 
> Samer and Qin,
> 
> Please help to review this patch.
> 
> Thanks.
> Jiaxin
> 
> 
> > -Original Message-
> > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of
> > Jiaxin Wu
> > Sent: Friday, April 29, 2016 9:31 AM
> > To: edk2-devel@lists.01.org
> > Cc: Samer El-Haj-Mahmoud <el...@hpe.com>; Long, Qin
> > <qin.l...@intel.com>
> > Subject: [edk2] [staging/HTTPS-TLS][PATCH] CryptoPkg: Fix ssl build error.
> >
> > This patch is used to fix ssl unresolved external build error.
> >
> > Cc: Samer El-Haj-Mahmoud <el...@hpe.com>
> > Cc: Thomas Palmer <thomas.pal...@hpe.com>
> > Cc: Long Qin <qin.l...@intel.com>
> > Contributed-under: TianoCore Contribution Agreement 1.0
> > Signed-off-by: Jiaxin Wu <jiaxin...@intel.com>
> > ---
> >  CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c | 10 ++
> >  1 file changed, 10 insertions(+)
> >
> > diff --git a/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c
> > b/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c
> > index c0ccc0e..a2386bc 100644
> > --- a/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c
> > +++ b/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c
> > @@ -382,10 +382,15 @@ FILE *fopen (const char *c, const char *m)
> > size_t fread (void *b, size_t c, size_t i, FILE *f)  {
> >return 0;
> >  }
> >
> > +int fputs (const char *s, FILE *f)
> > +{
> > +  return 0;
> > +}
> > +
> >  int fprintf (FILE *f, const char *s, ...)  {
> >return 0;
> >  }
> >
> > @@ -446,5 +451,10 @@ void syslog (int a, const char *c, ...)
> >
> >  ssize_t write (int f, const void *b, size_t l)  {
> >return 0;
> >  }
> > +
> > +int printf (char const *fmt, ...)
> > +{
> > +  return 0;
> > +}
> > --
> > 1.9.5.msysgit.1
> >
> > ___
> > edk2-devel mailing list
> > edk2-devel@lists.01.org
> > https://lists.01.org/mailman/listinfo/edk2-devel
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


Re: [edk2] [staging/HTTPS-TLS][PATCH] CryptoPkg: Fix ssl build error.

2016-05-02 Thread Wu, Jiaxin
Samer and Qin,

Please help to review this patch.

Thanks.
Jiaxin


> -Original Message-
> From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of
> Jiaxin Wu
> Sent: Friday, April 29, 2016 9:31 AM
> To: edk2-devel@lists.01.org
> Cc: Samer El-Haj-Mahmoud <el...@hpe.com>; Long, Qin
> <qin.l...@intel.com>
> Subject: [edk2] [staging/HTTPS-TLS][PATCH] CryptoPkg: Fix ssl build error.
> 
> This patch is used to fix ssl unresolved external build error.
> 
> Cc: Samer El-Haj-Mahmoud <el...@hpe.com>
> Cc: Thomas Palmer <thomas.pal...@hpe.com>
> Cc: Long Qin <qin.l...@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Jiaxin Wu <jiaxin...@intel.com>
> ---
>  CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c | 10 ++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c
> b/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c
> index c0ccc0e..a2386bc 100644
> --- a/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c
> +++ b/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c
> @@ -382,10 +382,15 @@ FILE *fopen (const char *c, const char *m)  size_t
> fread (void *b, size_t c, size_t i, FILE *f)  {
>return 0;
>  }
> 
> +int fputs (const char *s, FILE *f)
> +{
> +  return 0;
> +}
> +
>  int fprintf (FILE *f, const char *s, ...)  {
>return 0;
>  }
> 
> @@ -446,5 +451,10 @@ void syslog (int a, const char *c, ...)
> 
>  ssize_t write (int f, const void *b, size_t l)  {
>return 0;
>  }
> +
> +int printf (char const *fmt, ...)
> +{
> +  return 0;
> +}
> --
> 1.9.5.msysgit.1
> 
> ___
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


[edk2] [staging/HTTPS-TLS][PATCH] CryptoPkg: Fix ssl build error.

2016-04-28 Thread Jiaxin Wu
This patch is used to fix ssl unresolved external build error.

Cc: Samer El-Haj-Mahmoud 
Cc: Thomas Palmer 
Cc: Long Qin 
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiaxin Wu 
---
 CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c 
b/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c
index c0ccc0e..a2386bc 100644
--- a/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c
+++ b/CryptoPkg/Library/BaseCryptLib/SysCall/CrtWrapper.c
@@ -382,10 +382,15 @@ FILE *fopen (const char *c, const char *m)
 size_t fread (void *b, size_t c, size_t i, FILE *f)
 {
   return 0;
 }
 
+int fputs (const char *s, FILE *f)
+{
+  return 0;
+}
+
 int fprintf (FILE *f, const char *s, ...)
 {
   return 0;
 }
 
@@ -446,5 +451,10 @@ void syslog (int a, const char *c, ...)
 
 ssize_t write (int f, const void *b, size_t l)
 {
   return 0;
 }
+
+int printf (char const *fmt, ...)
+{
+  return 0;
+}
-- 
1.9.5.msysgit.1

___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel