VirtualBox

Changeset 74119 in vbox for trunk/src


Ignore:
Timestamp:
Sep 6, 2018 2:42:38 PM (6 years ago)
Author:
vboxsync
Message:

IPRt/RTHttpSignHeaders: singature field contains just the signature.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/generic/http-curl.cpp

    r74112 r74119  
    22962296    /* Estimate required string length first. */
    22972297    static const char s_szSuffixFmt[]    = "Authorization: Signature version=\"1\",keyId=\"%s\",algorithm=\"rsa-sha256\",headers=\"";
    2298     static const char s_szInfix[]        = "\",signature=\"Base64(RSA-SHA256(";
    2299     static const char s_szPostfix[]      = "))\"";
     2298    static const char s_szInfix[]        = "\",signature=\"";
     2299    static const char s_szPostfix[]      = "\"";
    23002300    static const char s_szRequestField[] = "(request-target)";
    23012301    size_t const      cchKeyId           = strlen(pszKeyId);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette