Branch: Tag:

2014-10-14

2014-10-14 12:11:37 by Martin Nilsson <nilsson@opera.com>

Document rsa_unpad return value.

366:    *! must be provided in the @[type] parameter. All content dependent    *! processing is done in constant time for the same padding type and    *! @[data] length. +  *! +  *! @returns +  *! Returns the position in the string where the first non-padding +  *! character is, or 0.    */ - PIKEFUN int rsa_unpad(string(0..255) data, int type) + PIKEFUN int(0..) rsa_unpad(string(0..255) data, int type)   {    int i, pad=0, nonpad=0, pos=0;    unsigned char *str;