Changeset f8ffc43 in mod_gnutls for src/gnutls_io.c


Ignore:
Timestamp:
Jan 11, 2013, 12:57:17 AM (8 years ago)
Author:
Daniel Kahn Gillmor <dkg@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, upstream
Children:
4ecf14f, f809816
Parents:
8ce897a
Message:

Imported Upstream version 0.5.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_io.c

    r8ce897a rf8ffc43  
    7373    if (buffer->length > inl) {
    7474        /* we have have enough to fill the caller's buffer */
    75         memcpy(in, buffer->value, inl);
     75        memmove(in, buffer->value, inl);
    7676        buffer->value += inl;
    7777        buffer->length -= inl;
     
    7979    else {
    8080        /* swallow remainder of the buffer */
    81         memcpy(in, buffer->value, buffer->length);
     81        memmove(in, buffer->value, buffer->length);
    8282        inl = buffer->length;
    8383        buffer->value = NULL;
     
    354354}
    355355
    356 #define HANDSHAKE_MAX_TRIES 100
     356#define HANDSHAKE_MAX_TRIES 1024
    357357static int gnutls_do_handshake(mgs_handle_t * ctxt)
    358358{
Note: See TracChangeset for help on using the changeset viewer.