Send MinGW-Notify mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.osdn.me/mailman/listinfo/mingw-notify
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of MinGW-Notify digest..."


Please do not reply to this notification; the sender address is unable to 
accept incoming e-mail.  If you wish to unsubscribe you can do so at 
https://lists.osdn.me/mailman/listinfo/mingw-notify.



Today's Topics:

   1. [mingw] #38391: CALG_TLS1PRF in wincrypt.h unusable
      (MinGW Notification List)
   2. [mingw] #38391: CALG_TLS1PRF in wincrypt.h unusable
      (MinGW Notification List)
   3. [mingw] #38391: CALG_TLS1PRF in wincrypt.h unusable
      (MinGW Notification List)


----------------------------------------------------------------------

Message: 1
Date: Tue, 10 Jul 2018 09:32:25 +0200
From: MinGW Notification List <[email protected]>
Subject: [MinGW-Notify] [mingw] #38391: CALG_TLS1PRF in wincrypt.h
        unusable
To: OSDN Ticket System <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

#38391: CALG_TLS1PRF in wincrypt.h unusable

  Open Date: 2018-07-10 09:32
Last Update: 2018-07-10 09:32

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/38391
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38391

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2018-07-10 09:32 Updated by: marcelraad
 * New Ticket "CALG_TLS1PRF in wincrypt.h unusable" created


---------------------------------------------------------------------
Ticket Status:

      Reporter: marcelraad
         Owner: (None)
          Type: Issues
        Status: Open
      Priority: 5 - Medium
     MileStone: (None)
     Component: WSL
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

I'm using w32api 5.0.1, but the issue is also in the trunk and experimental 
branches.
CALG_TLS1PRF is defined as (ALG_CLASS_DHASH | ALG_TYPE_ANY | ALG_SID_TLS1PRF) 
in 
https://osdn.net/projects/mingw/scm/git/mingw-org-wsl/blobs/5.1-trunk/w32api/include/wincrypt.h.
 This doesn't compile as ALG_CLASS_DHASH is not defined. The Microsoft Windows 
SDK uses ALG_CLASS_HASH instead.
#include <windows.h>
#include <wincrypt.h>

int i = CALG_TLS1PRF;
results in
$ gcc test_wincrypt.c
In file included from test_wincrypt.c:2:0:
test_wincrypt.c:4:9: error: 'ALG_CLASS_DHASH' undeclared here (not in a 
function)
 int i = CALG_TLS1PRF;
         ^


-- 
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN

Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/38391
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38391


------------------------------

Message: 2
Date: Tue, 10 Jul 2018 20:12:45 +0200
From: MinGW Notification List <[email protected]>
Subject: [MinGW-Notify] [mingw] #38391: CALG_TLS1PRF in wincrypt.h
        unusable
To: OSDN Ticket System <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

#38391: CALG_TLS1PRF in wincrypt.h unusable

  Open Date: 2018-07-10 09:32
Last Update: 2018-07-10 20:12

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/38391
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38391

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2018-07-10 20:12 Updated by: marcelraad
 * Details Updated


---------------------------------------------------------------------
Ticket Status:

      Reporter: marcelraad
         Owner: (None)
          Type: Issues
        Status: Open
      Priority: 5 - Medium
     MileStone: (None)
     Component: WSL
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

I'm using w32api 5.0.2, but the issue is also in the trunk and experimental 
branches.
CALG_TLS1PRF is defined as (ALG_CLASS_DHASH | ALG_TYPE_ANY | ALG_SID_TLS1PRF) 
in 
https://osdn.net/projects/mingw/scm/git/mingw-org-wsl/blobs/5.1-trunk/w32api/include/wincrypt.h.
 This doesn't compile as ALG_CLASS_DHASH is not defined. The Microsoft Windows 
SDK uses ALG_CLASS_HASH instead.
#include <windows.h>
#include <wincrypt.h>

int i = CALG_TLS1PRF;
results in
$ gcc test_wincrypt.c
In file included from test_wincrypt.c:2:0:
test_wincrypt.c:4:9: error: 'ALG_CLASS_DHASH' undeclared here (not in a 
function)
 int i = CALG_TLS1PRF;
         ^


-- 
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN

Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/38391
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38391


------------------------------

Message: 3
Date: Tue, 10 Jul 2018 16:55:50 -0400
From: MinGW Notification List <[email protected]>
Subject: [MinGW-Notify] [mingw] #38391: CALG_TLS1PRF in wincrypt.h
        unusable
To: OSDN Ticket System <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

#38391: CALG_TLS1PRF in wincrypt.h unusable

  Open Date: 2018-07-10 03:32
Last Update: 2018-07-10 16:55

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/38391
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38391

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2018-07-10 16:55 Updated by: earnie
 * Owner Update from (None) to keith

Comment:

Reply To marcelraad
I'm using w32api 5.0.2, but the issue is also in the trunk and experimental 
branches.

CALG_TLS1PRF is defined as (ALG_CLASS_DHASH | ALG_TYPE_ANY | ALG_SID_TLS1PRF) 
in 
https://osdn.net/projects/mingw/scm/git/mingw-org-wsl/blobs/5.1-trunk/w32api/include/wincrypt.h.
 This doesn't compile as ALG_CLASS_DHASH is not defined. The Microsoft Windows 
SDK uses ALG_CLASS_HASH instead.

{{{
#include <windows.h>
#include <wincrypt.h>

int i = CALG_TLS1PRF;
}}}

results in

{{{
$ gcc test_wincrypt.c
In file included from test_wincrypt.c:2:0:
test_wincrypt.c:4:9: error: 'ALG_CLASS_DHASH' undeclared here (not in a 
function)
 int i = CALG_TLS1PRF;
         
}}}
The ALG_CLASS_DHASH appears to be a typo and ALG_CLASS_HASH should have been 
used.  I've assigned to Keith but he may want to reassign elsewhere.

---------------------------------------------------------------------
Ticket Status:

      Reporter: marcelraad
         Owner: keith
          Type: Issues
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: (None)
     Component: WSL
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

I'm using w32api 5.0.2, but the issue is also in the trunk and experimental 
branches.
CALG_TLS1PRF is defined as (ALG_CLASS_DHASH | ALG_TYPE_ANY | ALG_SID_TLS1PRF) 
in 
https://osdn.net/projects/mingw/scm/git/mingw-org-wsl/blobs/5.1-trunk/w32api/include/wincrypt.h.
 This doesn't compile as ALG_CLASS_DHASH is not defined. The Microsoft Windows 
SDK uses ALG_CLASS_HASH instead.
#include <windows.h>
#include <wincrypt.h>

int i = CALG_TLS1PRF;
results in
$ gcc test_wincrypt.c
In file included from test_wincrypt.c:2:0:
test_wincrypt.c:4:9: error: 'ALG_CLASS_DHASH' undeclared here (not in a 
function)
 int i = CALG_TLS1PRF;
         ^


-- 
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN

Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/38391
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38391


------------------------------

_______________________________________________
MinGW-Notify mailing list
[email protected]
https://lists.osdn.me/mailman/listinfo/mingw-notify


End of MinGW-Notify Digest, Vol 10, Issue 1
*******************************************

Reply via email to