mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
651 B

  1. --- ./qca-tls.cpp.vanilla 2005-07-19 12:20:15.000000000 +0200
  2. +++ ./qca-tls.cpp 2005-07-19 12:20:46.000000000 +0200
  3. @@ -454,7 +454,7 @@
  4. if(!r) {
  5. // try this other public function, for whatever reason
  6. p = (void *)in;
  7. - r = d2i_RSA_PUBKEY(NULL, (unsigned char **)&p, len);
  8. + r = d2i_RSA_PUBKEY(NULL, (const unsigned char **)&p, len);
  9. }
  10. if(r) {
  11. if(pub) {
  12. @@ -799,7 +799,7 @@
  13. bool createFromDER(const char *in, unsigned int len)
  14. {
  15. unsigned char *p = (unsigned char *)in;
  16. - X509 *t = d2i_X509(NULL, &p, len);
  17. + X509 *t = d2i_X509(NULL, (const unsigned char **)&p, len);
  18. if(!t)
  19. return false;
  20. fromX509(t);